<!--<? include L::getHtmlTpl('/html/head.html');
include L::getHtmlTpl('/html/navHover.html');
?>-->
<div class="right-frame jsIsClosed">
    <div class="all-title"><span></span><a>代码生成器</a></div>
    <div class="search-form-wrapper clearfix">
        <div class="row clearfix">
            <div class="col-sm-4 col-md-4 col-lg-3 add-space">
                <div class="input-group input-group-sm ">
                    <span class="input-group-addon">库名</span>
                    <select  name="schema" id="schema" class="form-control" onchange="codeObj.schemaChange(this.options[this.options.selectedIndex].value)">
                        <option value="">=请选择=</option>
                        <!--<? foreach($this->schema as $val){ ?>-->
                        <option _value="$val['TABLE_SCHEMA']"><!--<? echo $val['TABLE_SCHEMA'] ?>--></option>
                        <!--<? } ?>-->
                    </select>
                </div>
            </div>
            <div class="col-sm-4 col-md-4 col-lg-3 add-space">
                <div class="input-group input-group-sm ">
                    <span class="input-group-addon">表名</span>
                    <select  name="fromName" id="fromName" class="form-control" onchange="codeObj.fromNameChange(this.options[this.options.selectedIndex].value)">
                        <option value="">=请选择=</option>
                    </select>
                </div>
            </div>

            <div class=" row clearfix add-space">
                <div class="col-sm-4 col-md-4 col-lg-3">
                    <input type='button' value='生成代码' class="btn btn-warning" onclick='codeObj.codeGenerator()'>
                </div>
            </div>
        </div>
    </div>
    <div class="table-wrapper chunk-table-wrapper">
        <div id="fromList">
            <table class="table">
                <tr>
                    <td>字段名</td>
                    <td>注释</td>
                    <td>字段类型</td>
                    <td>主键</td>
                    <td>列表是否展示</td>
                    <td>是否要排序</td>
                    <td>新增修改是否必填</td>
                    <td>查询方式</td>
                </tr>
            </table>
        </div>
    </div>
</div>
<script _src="ROOT_URL.'/view/js/base.js?v=201709151'"></script>
<script _src="ROOT_URL.'/view/js/codeGenerator.js'"></script>
<script _src="ROOT_URL.'/view/js/layer/layer.js'"></script>

